
import { delay } from 'redux-saga';
import { takeEvery, put } from 'redux-saga/effects';
import {INCREMENT, INCREMENT_SYNC} from '../constants/counter'
 function* helloSaga() {
    console.log('Hello Saga!');
   yield  put({
         type: INCREMENT
     })

}

export function* sagaSync() {
    yield takeEvery(INCREMENT_SYNC,helloSaga)
}

